<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%
	request.setAttribute("brEnter", "\n");//用于替换xml中的换行符
%>
<x:parse var="xmlData" xml="${param.xmlstr}"/>

<div class="one_page">
		<table class="TblList_head" align="center">
			<tr>
				<td>一、单位基本情况</td>
			</tr>
		</table>
		<table class="TblList" align="center">
			<col style="width: 145px" />
			<col style="width: 200px" />
			<col style="width: 145px" />
			<col style="width: 200px" />
			<tr>
				<td align="left" class="td_bgcolor">单位名称(盖章)</td>
				<td colspan="3"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/org_name" /></td>
			</tr>
			<tr>
				<td align="left" class="td_bgcolor">企业所属地区</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/area_name" />
				</td>
				<td align="left" class="td_bgcolor">组织机构代码</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/org_no" />
				</td>
			</tr>
			<tr>
				<td align="left" class="td_bgcolor">营业执照注册号</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/org_licence" />
				</td>
				<td align="left" class="td_bgcolor">税务登记号</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/tax_local_no" />
				</td>
			</tr>
			
			<tr>
				<td align="left" class="td_bgcolor">注册资本</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/registe_fund" />
				</td>
				<td align="left" class="td_bgcolor">注册类型</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/nature_name" />
				</td>
			</tr>

			
			<tr>
				<td align="left" class="td_bgcolor">注册日期</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/registe_date" />
				</td>
				<td align="left" class="td_bgcolor">行业类型</td>
				<td align="left"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/belong_industry_name" /></td>
			</tr>
			<tr>
				<td align="left" class="td_bgcolor">上级行名称</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/main_org_name" />
				</td>
				<td align="left" class="td_bgcolor">上级行地址</td>
				<td align="left"><x:out
						select="$xmlData/data/organizations/organization[@submit_org='1']/main_org_addr" />
				</td>
			</tr>
			<tr>
				<td align="left" class="td_bgcolor">开户银行</td>
				<td align="left"><x:out select="$xmlData/data/org_basic_info/bank_name" /></td>

				<td align="left" class="td_bgcolor">开户户名</td>
				<td align="left"><x:out select="$xmlData/data/org_basic_info/bank_orgname" /></td>

			</tr>
			<tr>
				

				<td align="left" class="td_bgcolor">银行账号</td>
				<td align="left" colspan="3"><x:out select="$xmlData/data/org_basic_info/bank_account" /></td>
			</tr>
			
		</table>
		<table class="TblList" align="center">
			<col style="width: 15%" />
			<col style="width: 12%" />
			<col style="width: 18%" />
			<col style="width: 20%" />
			<col style="width: 12%" />
			<col style="width: 23%" />
			<tr>
				<td colspan="6" style="font-family: SimHei; font-size: 17px;" class="td_bgcolor">人员情况</td>
			</tr>
			
			<tr>
				<td  class="td_bgcolor">单位负责人</td>
				<td align="center"><x:out
						select="$xmlData/data/organization_persons/fuzeren_cname" /></td>
				<td  class="td_bgcolor">证件类型</td>
				<td align="center"><x:out
						select="$xmlData/data/organization_persons/fuzeren_id_type_name" /></td>
				<td  class="td_bgcolor">证件号码</td>
				<td ><x:out
						select="$xmlData/data/organization_persons/fuzeren_id_no" /></td>
			</tr>
			<tr>
				<td  rowspan="1" class="td_bgcolor">员工人数</td>
				<td rowspan="1" align="center"><x:out select="$xmlData/data/organization_persons/people_count_total"/></td>
				
				<td  class="td_bgcolor">其中：硕士以上人员数</td>
				<td align="center"><x:out
						select="$xmlData/data/proposal/proportion3" /></td>
				<td  class="td_bgcolor">占员工总数比例</td>
				<td align="center"><x:out
						select="$xmlData/data/proposal/proportion2" /></td>
			</tr>

		</table>

		<table class="TblList" align="center">
			 <col style="width: 3%" />
			<col style="width: 15%" />
			<col style="width: 15%" />
			<col style="width: 14%" />
			<col style="width: 12%" />
			<col style="width: 15%" />
			<col style="width: 10%" />
			<col style="width: 22%" />
			<tr>
				<td colspan="8" style="font-family: SimHei; font-size: 17px;" class="td_bgcolor">主要股东/出资人（前5位）</td>
			</tr>
			<tr align="center">
				 <td  class="td_bgcolor" >序号</td>
				<td class="td_bgcolor" >股东/出资人<br />名称
				</td>
				<td class="td_bgcolor" >出资额<br />(万元)
				</td>
				<td class="td_bgcolor" >出资方式</td>
				<td class="td_bgcolor" >出资比例<br />(%)</td>
				<td class="td_bgcolor" >入股时间</td>
				<td class="td_bgcolor" >证件<br />类型</td>
				<td class="td_bgcolor" >证件号</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach
				select="$xmlData/data/organization_shareholders/shareholder"
				var="shareholder">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr align="center">
				 <td align="center"><x:out select="$shareholder/@sequence_no" /></td>
					<td align="center"><x:out select="$shareholder/cname" /></td>
					<td align="center"><x:out select="$shareholder/invest_amount" />
					</td>
					<td align="center" ><x:out
							select="$shareholder/invest_type_name" /></td>
					<td align="center"><x:out select="$shareholder/invest_percent" /></td>
					<td align="center"><x:out select="$shareholder/buy_stock_date" /></td>
					<td align="center"><x:out select="$shareholder/card_type_name" /></td>
					<td align="center"><x:out select="$shareholder/card_code" /></td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
		</table>
		
		<table class="TblList" align="center">
			<col style="width: 5%" />
			<col style="width: 14%" />
			<col style="width: 10%" />
			<col style="width: 9%" />
			<col style="width: 8%" />
			<col style="width: 8%" />
			<col style="width: 8%" />
			<col style="width: 8%" />
			<col style="width: 14%" />
			<col style="width: 8%" />
			<col style="width: 8%" />
			<tr>
				<td colspan="11" style="font-family: SimHei; font-size: 17px;" class="td_bgcolor">近三年获得各级政府资助情况</td>
			</tr>
			<tbody>
				<tr align="center">
					<td rowspan="2" class="td_bgcolor">序号</td>
					<td rowspan="2" class="td_bgcolor">项目<br />名称
					</td>
					<td rowspan="2" class="td_bgcolor">资助<br />部门
					</td>
					<td colspan="5" class="td_bgcolor">政府扶持资金（单位：万元）</td>
					 <td rowspan="2" class="td_bgcolor">资助时间</td>
					<td rowspan="2" class="td_bgcolor">资助<br />形式
					</td>
					<td rowspan="2" class="td_bgcolor">项目<br />进度
					</td>
				</tr>
				<tr align="center">
					<td class="td_bgcolor">小计</td>
					<td class="td_bgcolor">国家</td>
					<td class="td_bgcolor">省级</td>
					<td class="td_bgcolor">市级</td>
					<td class="td_bgcolor">区级</td>
				</tr>

				<c:set value="0" var="index" scope="page" />
				<x:forEach select="$xmlData/data/organization_research/fund_project"
					var="fund_project">
					<c:choose>
						<c:when test="${index<10}">
							<c:set value="0" var="flag" scope="page" />
						</c:when>
						<c:otherwise>
							<c:set value="" var="flag" scope="page" />
						</c:otherwise>
					</c:choose>
					<tr align="center">
						<td align="center"><x:out select="$fund_project/@sequence_no" />
						</td>
						<td align="left"><x:out select="$fund_project/ctitle" /></td>
						<td align="left"><x:out select="$fund_project/award_dept" /></td>
						<td><x:out select="$fund_project/award_amt_total" /></td>
						<td><x:out select="$fund_project/award_amt_nation" /></td>
						<td><x:out select="$fund_project/award_amt_province" /></td>
						<td><x:out select="$fund_project/award_amt_city" /></td>
						<td><x:out select="$fund_project/award_amt_district" /></td>
						
						<td><x:out
								select="$fund_project/award_start_date" /> 至 <x:out
								select="$fund_project/award_end_date" /></td>
						 
						<td><x:out select="$fund_project/award_type_name" /></td>
						<td><x:out select="$fund_project/accept_flag_name" /></td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page" />
				</x:forEach>
			</tbody>
		</table>
		<p style="page-break-after: always">&nbsp;</p>
	</div>
	<div class="one_page">
		<table class="TblList_head" align="center">
			<tr>
				<td>二、 单位财务情况（单位：万元）</td>
			</tr>
		</table>
		<c:set var="year">
			<x:out select="$xmlData/data/proposal/year" />
		</c:set>
		<c:set var="nature_value">
			<x:out
				select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" />
		</c:set>
		<table class="TblList" align="center">
			<col style="width: 3%" />
			<col style="width: 28%" />
		<!-- 	<col style="width: 3%" />
			<col style="width: 28%" />
			<col style="width: 23%" />
			<col style="width: 23%" />
			<col style="width: 23%" /> -->

		<tr class="t_tr">
				<td align="center" colspan="2" class="td_bgcolor" >指标</td>
				<td align="center" class="td_bgcolor" >上年度（${year-1 }）年</td>
			</tr>
			<tr>
					<td align="left" colspan="2" class="td_bgcolor" >年末贷款余额</td>
					<td align="center"><x:out
							select="$xmlData/data/proposal/dk" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor" >年末存款余额</td>
					<td align="center"><x:out
							select="$xmlData/data/proposal/ck" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor" >营业（销售）收入</td>
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/income" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor" >其中利息收入</td>
					<td align="center"><x:out
							select="$xmlData/data/proposal/income_lx" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor" >营业支出</td>
					<td align="center"><x:out
							select="$xmlData/data/proposal/income_main_zc" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor" >其中业务及管理费</td>
					<td align="center"><x:out
							select="$xmlData/data/proposal/income_ywgl" /></td>
				</tr>
				<tr >
					<td align="left" colspan="2" class="td_bgcolor">主营业务利润</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/proft_main" /></td>
				</tr>
				
			    <tr >
					<td align="left" colspan="2" class="td_bgcolor">利润总额</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/proft_total" /></td>
				</tr>
				
				<tr>
					<td align="left" colspan="2" class="td_bgcolor">净利润</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/proft" /></td>
				</tr>
				
				<tr>
					<td align="center" rowspan="4" class="td_bgcolor">其中</td>
					
					<td align="left" class="td_bgcolor">营业税</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/fax_bussiness" /></td>
				</tr>
				<tr>
					<td align="left" class="td_bgcolor">企业所得税</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/fax_income" /></td>
				</tr>
				<tr>
					<td align="left" class="td_bgcolor">个人所得税</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/fax_personal" /></td>
				</tr>
				<tr>
					<td align="left" class="td_bgcolor">其它税</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/fax_other" /></td>
				</tr>
				

				<tr>
					<td align="left" colspan="2" class="td_bgcolor">年末资产总额</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/assets" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor">年末固定资产净值</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/assets_fixed" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor">年末负债总额</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/liabilities" /></td>
				</tr>
				<tr>
					<td align="left" colspan="2" class="td_bgcolor">年末资产负债率（%）</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/liabilities_pre" /></td>
				</tr>
				
				<tr>
					<td align="left" colspan="2" class="td_bgcolor">总现金流量净额</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/caseflow" /></td>
				</tr>
				
				<tr>
					<td align="left" colspan="2" class="td_bgcolor">经营活动现金流量净额</td>
					
					<td align="center"><x:out
							select="$xmlData/data/organization/finances/finance[@sequence_no='5']/caseflow_active" /></td>
				</tr>
				
			
		</table>
		
		
		<p style="page-break-after: always">&nbsp;</p>
		
	</div>
